package com.vulab.training.java;

public class HelloWorldSample {

	
	
	public static void main(String[] args) {
		
	//arrays
		
		String [] myShoppingList =  new String[3];
		myShoppingList[0]= "IPOD";
		myShoppingList[1]= "iphone";
		myShoppingList[2]= "tv";
		
		for(int i =0;i<myShoppingList.length;i++){
			System.out.println("Shopping  List :" + myShoppingList[i]);
		}
		
		/*int [] arr = {1,2,3,4,5};
		
		for(int i =0;i < arr.length;i++)
		{
			System.out.println(arr[i]);
		}
		*/
		int [] add = new int [5];
		add[0]= 1;
		add[1]= 2;
		add[2]= 3;
		add[3]= 4;
		add[4]= 5;
		for(int i=1;i<add.length;i++)
		{
			System.out.println(add[i]);
		}
		
		int i = 10;
		do 
		{
			i = i+1;
			System.out.println(i);
			
		}while (i<15);
	}
	}	
	


